﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Baubixinh_client
{
    class clsEvents
    {
        public delegate void dgaDonHangUpdate();
        public delegate void dgaNhapHangUpdate();

        public event dgaDonHangUpdate evnDonHangUpdate;
        public event dgaNhapHangUpdate evnNhapHangUpdate;

        public void RaiseDonHangUpdate()
        {
            try
            {
                evnDonHangUpdate();
            }
            catch { }
        }

        public void RaiseNhapHangUpdate()
        {
            try
            {
                evnNhapHangUpdate();
            }
            catch { }
        }
    }
}
